import { ApiProperty } from '@midwayjs/swagger';
import { Rule, RuleType } from '@midwayjs/validate';
/**
 * 描述
 */
export class MapDTO {
  // 描述
  @ApiProperty({ example: "便利店", description: '用户id'})
  @Rule(RuleType.string())
  place: string;
  @ApiProperty({ example: "22.72921", description: '用户id'})
  @Rule(RuleType.string().required())
  latitude: string;
  @ApiProperty({ example: "114.047452", description: '用户id'})
  @Rule(RuleType.string().required())
  longitude: string;
//   22.72921,114.047452
}
